#!/usr/bin/python
# -*- coding: UTF-8 -*-

print "在 python 中，while … else 在循环条件为 false 时执行 else 语句块"
count = 0
while count < 5:
   print count, " is  less than 5"
   count = count + 1
   #if count == 4: break;
else:
   print count, " is not less than 5"

print "========================================================"
flag = 1

while (flag): print 'Given flag is really true!'; break;
else:
    print "given flag else"

print "Good bye!"